import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import Axios from "axios";
Vue.prototype.$axios = Axios;

import Mint from "mint-ui";
import "mint-ui/lib/style.css";
Vue.use(Mint);

import layer from "vue-layer";
import "vue-layer/lib/vue-layer.css";
Vue.prototype.$layer = layer(Vue);

Vue.use(ElementUI);
Vue.config.productionTip = false;
// 引用API
import api from './assets/api/api.js';
Vue.prototype.$api = api;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app")